Einhugur JWT Plugin

EinhugurJWT.EncodingParameters Class

Object for encoding parameters for the encode function in the EinhugurJWT module.

Object
   EncodingParameters

class EinhugurJWT.EncodingParameters

Constructors

EncodingParametersPrivate constructor.

Properties

AlgorithmAlgorithm to use.
AudienceThe audience claim (who is the JWT intended for? Who is the intended JWT's recipient?).
ExpirationExpiration time claim; specifies when this token should stop being valid (in seconds since Unix epoch).
IssuedAtIssued at timestamp claim; specifies when this token was emitted (in seconds since Unix epoch).
IssuerThe issuer claim (who issued the JWT?).
JwtIdThe JWT ID. Provides a unique identifier for the token.
NotBeforeThe not before time claim specifies when this token should start being valid (in seconds since Unix epoch).
SecretKeyThe secret key to use for signing the token.
SecretKeyPasswordIf the secret key requires password then the password goes in this field.
SubjectThe subject claim (who is the JWT about?)

Methods

AddHeaderClaimAdds custom header claim.
AddPayloadClaimAdds custom payload claim.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS